export function removeEmptyParams (params = {}) {
  let copyParams = params
  Object.keys(copyParams).forEach(key => {
    let val = copyParams[key]
    if (val === '' || val === undefined || val === null) {
      delete copyParams[key]
    }
  })
  return copyParams
}
